<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<%
			String basepath = request.getContextPath();
		%>
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/register.js"></script>
		<script language="javascript" type="text/javascript" src="<%=basepath%>/js/validatorTool.js"></script>
				<script language="javascript" type="text/javascript" src="<%=basepath%>/js/utilTool.js"></script>
	</head>
	<body class="fullbody">
		<div id="content" class="content">
			<div class="">
				<b class="rtop"><b class="r1"></b><b class="r2"></b><b
					class="r3"></b><b class="r4"> </b> </b>
				<table cellpadding="0" cellspacing="0" border="0" width="980" class="datatable">
					<tr>
						<td class="leftmargin">
						</td>
						<td valign="top" align="left">
							<form action="<%=basepath%>/register/reginfo" method="post"
								onsubmit="return CheckForm();">
								<table cellpadding="0" cellspacing="0" border="0" width="920">
									<tr class="title">
										<td colspan="4">
											用户名和密码
										</td>
									</tr>
									<tr class="inputrow">
										<td  align="right"  colspan="4">
											<a href="javascript:void(null);" onclick="doHelp('<%=request.getContextPath()%>/help/html/YQZC.html');" style="text-decoration: underline;">[填写说明]</a>
										</td>
									</tr>
									<tr class="inputrow">
										<td class="w1">
											用户名：
										</td>
										<td class="w2" rowspan="3"></td>
										<td class="w3">
											<input type="text" name="supusername" 
												value="${currentInfo.supusername}" onchange="check();"
												class="textstyle" >
											<span class="needfill">*</span>
										</td>
										<td class="w4">
											<div id="checksupusername" class="message">
											</div>
										
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											密码：
										</td>
										<td>
											<input type="password" name="suppwd" onchange="check();"
												class="textstyle" value="${currentInfo.suppwd}" maxlength="20">
											<span class="needfill">*</span>
										</td>
										<td>
											<div id="firstpwd" class="message">
												由6-20个英文字母或数字组成,例如：43sjk4sdwe
											</div>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											密码确认：
										</td>
										<td>
											<input name="suppwds" type="password" class="textstyle" maxlength="20"
												 onchange="check();" />
											<span class="needfill">*</span>
										</td>
										<td>
											<div id="repeatpwd" class="message">
												重复输入上面的密码
											</div>
										</td>
									</tr>
									<tr class="title">
										<td colspan="4">
											联系人信息
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											联系人1：
										</td>
										<td rowspan="6"></td>
										<td>
											<input type="text" name="linkman"  
												class="textstyle" value="${currentInfo.linkman}">
											<span class="needfill">*</span>
										</td>
										<td>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											手机1：
										</td>
										<td>
											<input type="text" name="mobile" value="${currentInfo.mobile}"
												class="textstyle">
											<span class="needfill">*</span>
										</td>
										<td>
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											公司固定电话1：
										</td>
										<td>
											<input type="text" name="tel" value="${currentInfo.tel}"
												class="textstyle">		
											<span class="needfill">*</span>	
										</td>
										<td>
											<font class="memoFont">加区号</font>		
										</td>
									</tr>
									<tr class="inputrow">
										<td align="right">
											电子邮箱1：
										</td>
										<td>
											<input type="text" name="linkemail" value="${currentInfo.linkemail}"
												class="textstyle">
											<span class="needfill">*</span>
										</td>
										<td>
											<div id="Div1" class="message">
												此邮箱用于接收采购方发送的信息，请谨慎选择并牢记邮箱地址
											</div>
										</td>
									</tr>
								</table>
								<div class="margin30">
           					 	</div>
								<div align="center">
									<input type="submit" value="提交注册" class="submitbutton">
								</div>
							</form>
						</td>
					</tr>
					<tr>
						<td colspan="4">
							<table align="left">
								<tr class="title">
									<td>
										<div id="message" class="msgcolor">
											<c:out value="${ERROR_MESSAGE}" />
										</div>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</div>
		</div>
	</body>
</html>